package poo.figure;

public class TestFigure {

	public static void main(String[] args) {
		Cerchio c = new Cerchio(6);
		System.out.println(c);
		System.out.println(c.perimetro());
		System.out.println(c.area());
		System.out.println(c.getRaggio());
		Cerchio d = new Cerchio(7);
		System.out.println(c.equals(d));
		System.out.println();
		Sfera s = new Sfera(6);
		System.out.println(s);
		System.out.println(s.area());
		System.out.println(s.areaLaterale());
		System.out.println();
		Cilindro ci = new Cilindro(6, 7);
		System.out.println(ci);
		System.out.println(ci.volume());
	}
}
